package com.shujia.bean;

import java.io.Serializable;

public class Car implements Serializable {
    private String carId;
    private String kcId;
    private Long ts;
    private Integer speed;

    public Car(String carId, String kcId, Long ts, Integer speed) {
        this.carId = carId;
        this.kcId = kcId;
        this.ts = ts;
        this.speed = speed;
    }

    public Car() {
    }

    @Override
    public String toString() {
        return "com.shujia.bean.Car{" +
                "carId='" + carId + '\'' +
                ", kcId='" + kcId + '\'' +
                ", ts=" + ts +
                ", speed=" + speed +
                '}';
    }

    public String getCarId() {
        return carId;
    }

    public void setCarId(String carId) {
        this.carId = carId;
    }

    public String getKcId() {
        return kcId;
    }

    public void setKcId(String kcId) {
        this.kcId = kcId;
    }

    public Long getTs() {
        return ts;
    }

    public void setTs(Long ts) {
        this.ts = ts;
    }

    public Integer getSpeed() {
        return speed;
    }

    public void setSpeed(Integer speed) {
        this.speed = speed;
    }
}
